package org.jeecg.trace.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.trace.entity.MesMaterialLot;
import org.jeecg.common.api.vo.Result;

import java.io.Serializable;
import java.util.Collection;

/**
 * @Description: 物料批次表
 * @Author: licy
 * @Date:   2022-10-26
 * @Version: V1.0
 */
public interface IMesMaterialLotService extends IService<MesMaterialLot> {

	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

    /**
     * 编辑方法
     *
     * @param mesMaterialLot
     */
    Result<String> edit(MesMaterialLot mesMaterialLot);

    IPage<MesMaterialLot> pageList(Page<MesMaterialLot> page, MesMaterialLot mesMaterialLot);
}
